#define _CRT_SECURE_NO_WARNINGS 1

class Solution {
public:
    void reverseString(vector<char>& s) {
        vector<char> temp;


        vector<char>::reverse_iterator it = s.rbegin();
        while (it != s.rend())
        {
            temp.push_back(*it);
            it++;
        }
        s = temp;
    }
};